package com.test.jdk15.sealed;

sealed class Square extends Shape permits TransparentRectangle  {}